package com.cskaoyan.demo7.mapper;

import com.cskaoyan.demo7.bean.model.MarketGoodsAttribute;
import com.cskaoyan.demo7.bean.model.MarketGoodsAttributeExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
 * @Description：
 * @Author：BLUEBLANK
 * @Date：2024/4/22 20:06
 */


public interface MarketGoodsAttributeMapper {
    long countByExample(MarketGoodsAttributeExample example);

    int deleteByExample(MarketGoodsAttributeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketGoodsAttribute record);

    int insertOrUpdate(MarketGoodsAttribute record);

    int insertOrUpdateSelective(MarketGoodsAttribute record);

    int insertSelective(MarketGoodsAttribute record);

    List<MarketGoodsAttribute> selectByExample(MarketGoodsAttributeExample example);

    MarketGoodsAttribute selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MarketGoodsAttribute record, @Param("example") MarketGoodsAttributeExample example);

    int updateByExample(@Param("record") MarketGoodsAttribute record, @Param("example") MarketGoodsAttributeExample example);

    int updateByPrimaryKeySelective(MarketGoodsAttribute record);

    int updateByPrimaryKey(MarketGoodsAttribute record);

    int updateBatch(List<MarketGoodsAttribute> list);

    int updateBatchSelective(List<MarketGoodsAttribute> list);

    int batchInsert(@Param("list") List<MarketGoodsAttribute> list);
}